﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ModelForJD
{
    /// <summary>
    /// 同类商品类
    /// </summary>
    public class GoodsSimilarSkuForJD
    {
        /// <summary>
        /// 返回标识
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 返回描述
        /// </summary>
        public string resultMessage { get; set; }
        /// <summary>
        /// 返回编码
        /// </summary>
        public string resultCode { get; set; }
        /// <summary>
        /// 同类商品列表集合
        /// </summary>

        public List<GoodsSimilarSkuDetailsForJD> result { get; set; }
    }
    /// <summary>
    /// 同类商品列表
    /// </summary>
    public class GoodsSimilarSkuDetailsForJD
    {
        /// <summary>
        /// 同类商品标识
        /// </summary>
        public int dim { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>
        public string saleName { get; set; }
        /// <summary>
        /// 商品详情集合
        /// </summary>
        public List<SaleAttrList> saleAttrList { get; set; }
    }
    /// <summary>
    /// 同类商品详情
    /// </summary>
    public class SaleAttrList
    {
        /// <summary>
        /// 图片路径
        /// </summary>
        public string imagePath { get; set; }
        /// <summary>
        /// 颜色号
        /// </summary>
        public string saleValue { get; set; }
        /// <summary>
        /// 商品编号集合以逗号分割
        /// </summary>
        public string skuIds { get; set; }
    }
}
